package rbm.modelado.datos.elementos;

import rbm.modelado.datos.elementos.interfaces.Path;


public class PathImpl implements Path{

	private Integer[] coord;
	
	public PathImpl (Integer n){
		coord = new Integer[n];
	}
	
	public Object get(Integer index){
		return coord[index];
	}


	public void set(Integer pos, Object obj) {
		coord[pos]= (Integer) obj;
		
	}

	public Integer length() {
		return coord.length;
	}
	
}
